/*
 * @Description: 
 * @Author: Leequik
 * @Date: 2024-02-09 13:34:27
 * @LastEditTime: 2025-06-15 13:56:54
 * @LastEditors: Leequik
 */

//此文件废除,用的是routers文件夹下的route
/*
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
const BASE_URL = '/';


import Index from "./views/test/Index.vue";
interface RouteMeta {
    showHeader: boolean;
}

type CustomRouteRecord = RouteRecordRaw & {
    meta: RouteMeta;
}

const routes: CustomRouteRecord[] = [
    
    {
        path: "/index",
        name: "Index",
        meta: { showHeader: true },
        component: Index,
    },
  
]

const router = createRouter({
    history: createWebHistory(BASE_URL),
    routes
})

export default router


import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
const BASE_URL = '/';


const router = createRouter({
    history: createWebHistory(BASE_URL),
    routes:[
        {
            path: "/index",
            component:()=>import("./views/Index.vue")
        },


    ]
})

export default router

*/